package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-07-13:43
 */
@Mapper
public interface SysRoleMenuMapper {

    List<Long> findMenusByRoleId(Long roleId);

    void deleteByroleId(Long roleId);

    void assignMenus2Role(@Param("roleId")Long roleId,@Param("menuIds")List<Long> menuIds);
}
